package org.jsbd.boss.domian.channel;

import java.io.Serializable;

/**
 * apk和base信息
 *
 * @author <a href="mailto:xupengcheng@zhexinit.com" >徐鹏程</a>
 * @version 1.0.0
 */
public class ApkInfoVo implements Serializable {

    private static final long serialVersionUID = -8081374939170514928L;
    private Integer base;
    private Integer apkId;
    private String mark;
    private String apkName;
    private String channelName;
    private String carrier;
    private Integer loginType;
    private String sysVer;
    private Integer miguFlag;
    private Boolean isReserve;

    /**
     * 指定机型
     */
    private String assignDevice;
    /**
     * 指定系统版本
     */
    private String assignSysVer;

    public Integer getApkId() {
        return apkId;
    }

    public void setApkId(Integer apkId) {
        this.apkId = apkId;
    }

    public Integer getBase() {
        return base;
    }

    public void setBase(Integer base) {
        this.base = base;
    }

    public String getMark() {
        return mark;
    }

    public void setMark(String mark) {
        this.mark = mark;
    }

    public String getApkName() {
        return apkName;
    }

    public void setApkName(String apkName) {
        this.apkName = apkName;
    }

    public String getChannelName() {
        return channelName;
    }

    public void setChannelName(String channelName) {
        this.channelName = channelName;
    }

    public Boolean getIsReserve() {
        return isReserve;
    }

    public void setIsReserve(Boolean isReserve) {
        this.isReserve = isReserve;
    }

    public String getCarrier() {
        return carrier;
    }

    public void setCarrier(String carrier) {
        this.carrier = carrier;
    }

    public static long getSerialversionuid() {
        return serialVersionUID;
    }

    public Integer getLoginType() {
        return loginType;
    }

    public void setLoginType(Integer loginType) {
        this.loginType = loginType;
    }


    public String getSysVer() {
        return sysVer;
    }

    public void setSysVer(String sysVer) {
        this.sysVer = sysVer;
    }


    public Integer getMiguFlag() {
        return miguFlag;
    }

    public void setMiguFlag(Integer miguFlag) {
        this.miguFlag = miguFlag;
    }


    public String getAssignDevice() {
        return assignDevice;
    }

    public void setAssignDevice(String assignDevice) {
        this.assignDevice = assignDevice;
    }


    public String getAssignSysVer() {
        return assignSysVer;
    }

    public void setAssignSysVer(String assignSysVer) {
        this.assignSysVer = assignSysVer;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((apkId == null) ? 0 : apkId.hashCode());
        return result;
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        ApkInfoVo other = (ApkInfoVo) obj;
        if (apkId == null) {
            if (other.apkId != null) {
                return false;
            }
        } else if (!apkId.equals(other.apkId)) {
            return false;
        }
        return true;
    }

}
